﻿//using M_Ingredient.Domain;
using M.Warehouse.Domain;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace M.Warehouse.API.Application.Command.PickingCommand
{
    public class PickingCreateCommand :Picking,IRequest<int>
    {
        ///// <summary>
        ///// 领料Id
        ///// </summary>
        //public int PickingId { get; set; }
        ///// <summary>
        ///// 领料编号
        ///// </summary>
        //public string? PickingNo { get; set; }
        ///// <summary>
        ///// 领料名称
        ///// </summary>
        //public string? PickingName { get; set; }
        ///// <summary>
        ///// 领料日期
        ///// </summary>
        //public DateTime? PickingDate { get; set; }
        ///// <summary>
        ///// 领料人
        ///// </summary>
        //public string? Picker { get; set; }
        ///// <summary>
        ///// 工单名称
        ///// </summary>
        //public string? TicketsName { get; set; }
        ///// <summary>
        ///// 工单编号
        ///// </summary>
        //public string? TicketsNo { get; set; }
        ///// <summary>
        ///// 任务编号
        ///// </summary>
        //public string? TaskNo { get; set; }
        ///// <summary>
        ///// 任务名称
        ///// </summary>
        //public string? TaskName { get; set; }
        ///// <summary>
        ///// 工艺路线
        ///// </summary>
        //public string? ProcessRouteName { get; set; }
        ///// <summary>
        ///// 工序名称
        ///// </summary>
        //public string? ProductionProcessesName { get; set; }
        ///// <summary>
        ///// 状态
        ///// </summary>
        //public int? PickingState { get; set; }
        ///// <summary>
        ///// 备注
        ///// </summary>
        //public string? PickingRemark { get; set; }
        ///// <summary>
        ///// 创建人
        ///// </summary>
        //public string? CreatedBy { get; set; }

        ///// <summary>
        ///// 创建时间
        ///// </summary>
        //public DateTime? CreatedDate { get; set; } = DateTime.Now;

        ///// <summary>
        ///// 修改人
        ///// </summary>
        //public string? UpdatedBy { get; set; }

        ///// <summary>
        ///// 修改时间
        ///// </summary>
        //public DateTime? UpdatedDate { get; set; }

        ///// <summary>
        ///// 删除人
        ///// </summary>
        //public string? DeletedBy { get; set; }

        ///// <summary>
        ///// 删除时间
        ///// </summary>
        //public DateTime? DeletedDate { get; set; }

        ///// <summary>
        ///// 逻辑状态
        ///// </summary>
        //public bool IsDeleted { get; set; } = false;
        //public List<Ingredient> IngredientDTO = new List<Ingredient>();
        ///// <summary>
        ///// 原料DTO
        ///// </summary>
        //public class Ingredient
        //{
        //    public int IngredientId { get; set; }
        //    public string? Ingredientnumber { get; set; }
        //    public string? IngredientName { get; set; }
        //    public string? IngredientFen { get; set; }
        //    public string? size { get; set; }
        //    public string? specification { get; set; }

        //    public string? Rawmaterialproperties { get; set; }
        //    public string? unit { get; set; }
        //    public int? Num { get; set; }

        //    public string? IngredientType { get; set; }

        //    public string? State { get; set; }
        //    public int? IngredientNum { get; set; }
        //    public int? alarmDays { get; set; }
        //    public int? InventoryLimit { get; set; }
        //    public int? InventoryMinimum { get; set; }
        //    public string? Rawmateriallocation { get; set; }
        //    public DateTime? CreatedTimess { get; set; }

        //    public string? remark { get; set; }
        //    public string? images { get; set; }
        //    public int? PickingId { get; set; }// 领料Id
        //    public int? PickingNum { get; set; }//领料数量
        //}
    }
}
